ExamPlay Light Logo
Нэвтрэх

Computer Science for IGCSE & O level - Programming (Section 12 - No. 31)

In a CASE statement, what happens if none of the cases match the expression?
The code inside the first case is executed.
The code inside the ELSE or default case (if present) is executed.
An error occurs, and the program stops.
The program continues to the next statement after the CASE statement.

Тайлбар

If there's an ELSE or default case, that code is run; otherwise, execution continues after the CASE statement.

Смхиман (0)

Сэтгэгдэл бичихийн тулд нэвтэрнэ үү
Сурталчилгаа
BrainBehindX Inc Logo
©2026; Powered by BrainBehindX Inc